export const TOKEN_TIME = "tokenTime";
export const TOKEN_TIME_VALUE = 1 * 60 * 60 * 1000;

const Config = {
  baseUrl: "",
  timeout: 5 * 1000, // 请求超时时间设置
};

if (process.env.NODE_ENV === "development") {
  Config.baseUrl = "/api";
} else if (process.env.NODE_ENV === "production") {
  Config.baseUrl = "/prod";
} else {
  Config.baseUrl = "/test";
}

export default Config;
